from django.conf.urls.defaults import patterns

urlpatterns = patterns('',
    (r'^login/', 'flexy.sysmodel.views.login_view'),
    (r'^logout/', 'flexy.sysmodel.views.logout_view'),
    (r'^home/', 'flexy.sysmodel.views.home'),
    
    (r'^flexyclass/home/', 'flexy.sysmodel.views.flexyclass_home'),
    (r'^flexyclass/add/', 'flexy.sysmodel.views.flexyclass_add'),
    (r'^flexyclass/update/(\d+)/', 'flexy.sysmodel.views.flexyclass_update'),
    (r'^flexyclass/group/add/(\d+)/', 'flexy.sysmodel.views.group_add'),
    (r'^flexyclass/group/update/(\d+)/', 'flexy.sysmodel.views.group_update'),
    (r'^flexyclass/field/add/(\d+)/', 'flexy.sysmodel.views.field_add'),
    (r'^flexyclass/field/update/(\d+)/', 'flexy.sysmodel.views.field_update'),
    (r'^flexyclass/field/displayfield/add/(\d+)/', 'flexy.sysmodel.views.display_field_add'),
    (r'^flexyclass/field/displayfield/remove/(\d+)/(\d+)/', 'flexy.sysmodel.views.display_field_remove'),
    (r'^flexyclass/field/extrafield/add/(\d+)/', 'flexy.sysmodel.views.extra_field_add'),
    (r'^flexyclass/field/extrafield/update/(\d+)/', 'flexy.sysmodel.views.extra_field_update'),
    
    (r'^user/home/', 'flexy.sysmodel.views.user_home'), 
    (r'^user/add/', 'flexy.sysmodel.views.user_add'), 
    (r'^user/update/(\d+)/', 'flexy.sysmodel.views.user_update'),
    
    (r'^usergroup/home/', 'flexy.sysmodel.views.user_group_home'),  
    (r'^usergroup/add/', 'flexy.sysmodel.views.user_group_add'),
    (r'^usergroup/update/(\d+)/', 'flexy.sysmodel.views.user_group_update'),
    (r'^usergroup/view/(\d+)/', 'flexy.sysmodel.views.user_group_view'),
    
    

)